import * as TYPE from './mutation-types'

const mutations = {
  [TYPE.SET_ADTAG]: function (state, adtag) {
    state.adTag = adtag
  },
  [TYPE.GET_AUTH]: function (state, adtag) {
    state.adTag = adtag
  },
  [TYPE.SET_SHOPCAR]: function (state, shopCar) {
    state.shopCar = shopCar
  },
  [TYPE.GET_SHOPCAR]: function (state, shopCar) {
    state.shopCar = shopCar
  }
}
export default mutations
